package com.study.zouchao.superproject.mypublishtask.model.entity;

/**
 * Created by Administrator on 2017/6/27.
 */

public class ChooseUserResult {

    /**
     * data : {"taskId":20,"taskSponsorUserId":10,"taskSponsorUserName":"zouchao","choosedUserName":"ljx","taskStatus":2}
     * message : 请求成功
     * code : 21610
     */

    private DataBean data;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ChooseUserResult{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", code=" + code +
                '}';
    }

    public static class DataBean {
        /**
         * taskId : 20
         * taskSponsorUserId : 10
         * taskSponsorUserName : zouchao
         * choosedUserName : ljx
         * taskStatus : 2
         */

        private int taskId;
        private int taskSponsorUserId;
        private String taskSponsorUserName;
        private String choosedUserName;
        private int taskStatus;

        public int getTaskId() {
            return taskId;
        }

        public void setTaskId(int taskId) {
            this.taskId = taskId;
        }

        public int getTaskSponsorUserId() {
            return taskSponsorUserId;
        }

        public void setTaskSponsorUserId(int taskSponsorUserId) {
            this.taskSponsorUserId = taskSponsorUserId;
        }

        public String getTaskSponsorUserName() {
            return taskSponsorUserName;
        }

        public void setTaskSponsorUserName(String taskSponsorUserName) {
            this.taskSponsorUserName = taskSponsorUserName;
        }

        public String getChoosedUserName() {
            return choosedUserName;
        }

        public void setChoosedUserName(String choosedUserName) {
            this.choosedUserName = choosedUserName;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "taskId=" + taskId +
                    ", taskSponsorUserId=" + taskSponsorUserId +
                    ", taskSponsorUserName='" + taskSponsorUserName + '\'' +
                    ", choosedUserName='" + choosedUserName + '\'' +
                    ", taskStatus=" + taskStatus +
                    '}';
        }
    }
}
